package com.fxl.majiang.message.input;

import com.fxl.majiang.enums.OperationEnum;
import lombok.Data;

import java.io.Serializable;

/**
 * @author fengxinglei
 * @date 2022/7/29 13:57
 * @description TODO
 */
@Data
public class OperationMessage implements Serializable {

    private static final long serialVersionUID = 1993935961335953854L;

    /**
     * @see OperationEnum
     */
    private int operation;

    private String data;

    public OperationMessage(){}

    public OperationMessage(int operation, String data) {
        this.operation = operation;
        this.data = data;
    }
}
